<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@page contentType="text/html" pageEncoding="ISO-8859-1"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html xmlns="http://www.w3.org/1999/xhtml" lang="pt-br">
    <head>
        <title>NTI | SEFIN | PCR</title>
        <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
        <meta http-equiv="cache-control" content="no-cache" />
        <meta http-equiv="expires" content="3600" />
        <link rel="stylesheet" type="text/css" media="screen,projection,print" href="./pub/css/estilo.css" />
        <link rel="stylesheet" type="text/css" media="screen,projection,print" href="./pub/css/auxiliar.css" />
        <link rel="stylesheet" type="text/css" media="screen,projection,print" href="./pub/css/dropdown.css" />
        <link rel="stylesheet" type="text/css" media="screen,projection,print" href="./pub/css/default.ultimate.css" />
        <link rel="icon" type="image/x-icon" href="./pub/img/favicon.ico" />
        <script type="text/javascript" src="./pub/js/funcoes.js"></script>
        <script type="text/javascript" src="./pub/js/jquery-1.2.6.pack.js"></script>
        <script type="text/javascript" src="./pub/js/jquery.maskedinput-1.1.3.pack.js"></script>
        <!--[if lte IE 7]>
            <script type="text/javascript" src="js/jquery/jquery.js"></script>
            <script type="text/javascript" src="js/jquery/jquery.dropdown.js"></script>
        <![endif]-->
    </head>
    <body>
        <c:import url="//inc/pagetop.jsp" />
        <div id="pagecontainer">
            <c:import url="//inc/menutop.jsp" />
            <div class="conteudo">
                <div id="top">
                    <h2>Akese</h2>
                    <h3>${msg}</h3>
                </div>
                <div class="formulario">
                    <fieldset>
                        <legend>${titulo}</legend>
                        <form action="main" method="post">
                            <input type="hidden" name="acao" value="salvar_orgao" />

                            <label class="left" for="codigo">Código <font color="red">*</font> :</label>
                            <input type="text" name="codigo" value="${bean.codigo}" maxlength="20" />

                            <label class="left" for="sigla">Sigla <font color="red">*</font> :</label>
                            <input type="text" name="sigla" value="${bean.sigla}" maxlength="20" />

                            <label class="left" for="administracao">Administração <font color="red">*</font> :</label>
                            <input type="text" name="administracao" value="${bean.administracao}" maxlength="100" />

                            <label class="left" for="nome">Nome <font color="red">*</font> :</label>
                            <input type="text" name="nome" value="${bean.nome}" maxlength="200" />

                            <label class="left" for="idOrgaoPai">Subordinado a:</label>
                            <select name="idOrgaoPai">
                                <option>Selecione...</option>
                                <c:forEach var="item" items="${orgaos}">
                                    <option value="${item.id}">${item.sigla}</option>
                                </c:forEach>
                            </select>

                            <input type="checkbox" name="status" value="1" checked="checked" /> Cadastrar como "Ativo"
                            <input type="submit" value="Salvar" />
                        </form>
                    </fieldset>
                </div><!--formulario-->
            </div><!--conteudo-->
        </div><!--pagecontainer-->
        <c:import url="//inc/rodape.jsp" />
    </body>
</html>
